<script setup lang="ts">
import b from "~/assets/images/team/top-bg.jpg"
</script>

<template>
  <div class="team">
    <div class="team-top">
      <div class="banner-container">
        <BannerMedia :url="b"/>
      </div>
      <h1 class="title">团队成员</h1>
    </div>
    <div class="team-intro">
      <div class="title">执象团队</div>
      <div class="desc">
        拥有遍布亚洲及跨越全球的网络，提供全口岸、全过程的一站式综合口岸物流服务，依托综合服务能力，打造方便便捷的完整供应链服务体系。
      </div>
    </div>
    <div class="team-content">
      <div class="team-item" v-for="i in 9">
        <div class="user-image">
          <img src="" alt="">

        </div>
        <div class="name">李晓天</div>
        <div class="eng">Iris Lee</div>
        <div class="name">执象营销总监</div>
        <div class="eng job">Director of Marketing</div>
      </div>
    </div>
  </div>
</template>

<style scoped lang="scss">
.team {
  .team-top {
    position: relative;
    width: 24rem;
    height: 8.54rem;
    padding-left: 1.66rem;
    padding-top: 3.78rem;

    .title {
      font-size: 1rem;
      font-weight: bold;
      color: #FFFFFF;
      line-height: 0.6rem;
    }

    .banner-container {
      z-index: -1;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
  }

  .team-intro {
    padding-left: 1.78rem;
    padding-top: 0.88rem;

    .title {
      font-size: 0.48rem;
      font-weight: 500;
      color: #000000;
    }

    .desc {
      margin-top: 0.25rem;
      font-size: 0.23rem;
      font-weight: 400;
      color: #000000;
    }
  }

  .team-content {
    padding-top: 0.91rem;
    padding-left: 1.78rem;
    padding-bottom: 1.15rem;
    display: flex;
    flex-wrap: wrap;

    .team-item {
      margin-right: 0.4rem;
      margin-bottom: 0.65rem;
      position: relative;
      width: 6.58rem;
      height: 10.43rem;
      color: #FFFFFF;
      padding-top: 7.43rem;

      .user-image {
        position: absolute;
        z-index: -1;
        top: 0;

        img {
          background: #999;
          width: 6.58rem;
          height: 10.43rem;
        }
      }

      .name {
        padding-left: 2.5rem;
        font-size: 0.6rem;
        font-weight: bold;
        text-shadow: 0rem 0rem 0rem rgba(0, 0, 0, 0.35);
      }

      .eng {
        padding-left: 2.5rem;
        font-size: 0.45rem;
        font-weight: bold;
        color: #FFFFFF;
        text-shadow: 0rem 0rem 0rem rgba(0, 0, 0, 0.35);
        &.job{
          font-size: 0.3rem;
        }
      }

      &:nth-child(3n) {
        margin-right: 0;
      }
    }
  }
}
</style>
